We never compiled Asterisk 1.8.20 on our chan_extra 2.0.7 at present. Because it 's the newest(release on 2013-1-14). We have to build a similar scenario and test it first.
And we will give you a solution here as soon as possible once we get it done.
Hello,
Please go to your chan_extra source code package and fine chan_extra.c, open it by your editor and insert the following codes to the corresponding lines:
hi,
i'm new on this forum.
Hi ave the same problem and insert the code on lines +4663 and +6274 dont resolve the problem.
i have asterisk 11.5 and chan_extra 2.0.7 on centos 6.4.
[CC] chan_extra.c -> chan_extra.o
chan_extra.c: In function ‘extra_new’:
chan_extra.c:4663: error: incompatible type for argument 2 of ‘ast_devstate_changed_literal’
/usr/src/asterisk-11.5.1/include/asterisk/devicestate.h:167: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘const char *’
chan_extra.c:4663: error: too few arguments to function ‘ast_devstate_changed_literal’
chan_extra.c: In function ‘sms_send_new’:
chan_extra.c:6272: error: incompatible type for argument 2 of ‘ast_devstate_changed_literal’
/usr/src/asterisk-11.5.1/include/asterisk/devicestate.h:167: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘const char *’
chan_extra.c:6272: error: too few arguments to function ‘ast_devstate_changed_literal’
make[1]: *** [chan_extra.o] Error 1
make: *** [channels] Error 2
Hi.
Is there chan_extra support for Asterisk 11.8.1?
My install scripts failure...
Mon Mar 31 17:55:04 EEST 2014 : [ OK ]
chan_extra.c: In function ‘extra_new’:
chan_extra.c:4663: error: incompatible type for argument 2 of ‘ast_devstate_changed_literal’
/usr/src/asterisk-11.8.1/include/asterisk/devicestate.h:167: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘const char *’
chan_extra.c:4663: error: too few arguments to function ‘ast_devstate_changed_literal’
chan_extra.c: In function ‘sms_send_new’:
chan_extra.c:6272: error: incompatible type for argument 2 of ‘ast_devstate_changed_literal’
/usr/src/asterisk-11.8.1/include/asterisk/devicestate.h:167: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘const char *’
chan_extra.c:6272: error: too few arguments to function ‘ast_devstate_changed_literal’
make[1]: *** [chan_extra.o] Error 1
make: *** [channels] Error 2